package com.holy.sh.couviewholy;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;

import com.holy.sh.couviewholy.holy_text.TexttestActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class MainActivity extends AppCompatActivity {

    /*@BindView(R.id.bd_move)
    DontaiBitMapView bdMove;*/

    boolean isStop = true;
    @BindView(R.id.txt_text)
    TextView txtText;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //显示自定义的SurfaceView视图
        // setContentView(R.layout.activity_main);
        setContentView(R.layout.paint_canvas_layout);
        ButterKnife.bind(this);
        // setContentView(new MySurfaceView(this));
    /*   DisplayMetrics ds = new DisplayMetrics();
        getWindowManager().getDefaultDisplay().getMetrics(ds);
        frLy.addView(new MoveView(this));*/

    }

    @OnClick(R.id.txt_text)
    public void onClick() {
        Intent intent = new Intent(this, TexttestActivity.class);
        startActivity(intent);
    }


}
